<?php

namespace app\service\plc\siemens;

class ModbusMasterTcp extends ModbusMaster {
    /**
     * ModbusMasterTcp
     *
     * This is the constructor that defines {@link $host} IP address of the object.
     *
     * @param String $host An IP address of a Modbus TCP device. E.g. "192.168.1.1".
     */
    function ModbusMasterTcp($host){
        $this->host = $host;
        $this->socket_protocol = "TCP";
    }
}
